package cn.bootx.table.modify.pgsql.base;

import cn.bootx.table.modify.annotation.DbColumn;
import cn.bootx.table.modify.annotation.DbComment;
import cn.bootx.table.modify.annotation.DbOrder;
import cn.bootx.table.modify.annotation.DbTable;

/**
 * 字段排序 数字小的在前面,大的在后面
 * 只在创建表时有效
 * @author xxm
 * @date 2023/6/8
 */
@DbComment("字段排序")
@DbTable
public class OrderDbEntity {

    @DbOrder(6)
    private Long i6;
    @DbColumn(order = 5)
    private Long i5;
    @DbColumn(order = 4)
    private Long i4;
    @DbColumn(order = 3)
    private Long i3;
    @DbColumn(order = 2)
    private Long i2;
    @DbColumn(order = 1)
    private Long i1;

}
